package com.lovegu.object.middle;

/**
 * @author 老顾
 * @title: UseBoth
 * @projectName java-restudy
 * @email: 1437594522@qq.com
 * @date 2022/9/21 8:17
 */
public class UseBoth {
    public static void main(String[] args) {
        Parent p1 = new Parent();
        Child c1 = new Child();
        p1.method1();
        c1.method1();
    }
}
